// 对象模型的结构
let {width, weight} = {width:"172cm",weight:"53kg"};  // 基本使用
// console.log("我的身高是:"+width+",体重是:"+weight);

let obj = {p:["hello",{y:'world'}]};
// console.log(obj);
let {p:[x,{y}]} = obj;  // 可嵌套
// console.log(x,y);
let {p:[x1,{}]} = obj;  // 可忽略
// console.log(x1);

function test() {
  let age = 18;
  let unit = "岁";
  console.log`age + unit`;
  return(age + unit);
}
console.log(test());